import { v4 as uuidv4 } from 'uuid'

//设置本地游客id
export const getUUID_TOKEN=()=>{
    let uuid_token = localStorage.getItem('UUID_TOKEN')||''
    if(!uuid_token){
        uuid_token=uuidv4()
        localStorage.setItem('UUID_TOKEN',uuid_token)
    }
    return uuid_token
}